<?php

namespace api\web\controller;

use api\web\model\BannerModel;
use cmf\controller\RestBaseController;
use think\facade\Db;

class BannerController extends RestBaseController
{
    public function banner(){
        $list = Db::name("banner")->select();
        $this->success('轮播图显示',$list);
    }
}